<template>
  <div class="Alipay">
    <div v-html="message" class="htmlMag"></div>
  </div>
</template>
<script>
import { findPayWayList,startPay } from "../../api/page.js";

export default {
  name: "Alipay",
  data: function() {
    return {
      message:"",
      falg:false,
    };
  },
  created: function() {
    
  },
  methods: {
    
  },
  mounted(){
    console.log(process.env.VUE_APP_URL)
    //  window.location.href = "http://106.15.237.241:8081/app/user/pay/startPay?orderNo=O1207186983567228928&payWay=ALIPAY_WAP_WEB&webSource=H5_WEB"
    // startPay({
    //   orderNo:this.$route.query.orderNo,
    //   payWay:this.$route.query.payWay,
    //   webSource:"H5_WEB"
    // }).then(res=>{
    //   // console.log(res)
    //   if(this.$route.query.payWay=="ALIPAY_WAP_WEB"){
    //     window.open('http://106.15.237.241:8081/app/user/pay/startPay?orderNo=O1207186983567228928&payWay=ALIPAY_WAP_WEB&webSource=H5_WEB')
    //   }else{

    //   }
    // })
  }
};
</script>
<style scoped lang="less">
  .Alipay,.htmlMag{
    height: 100%;
  }
</style>
